import {createBrowserRouter} from 'react-router-dom'
import App from '../App'
import Home from '../pages/Home'
const router=createBrowserRouter([
    {
        path:'/',element:<App></App>,
        children:[
            {
                path:'home',
                element:<Home></Home>
            },
            {
                index:true,element:<Home></Home>
            }
        ]
    }
])
export default router